package com.songshuai.sales.tool.service;

import com.songshuai.sales.tool.dto.request.sopmanage.CustomerPushReqDto;
import com.songshuai.sales.tool.dto.request.sopmanage.CustomerQueryReqDto;
import com.songshuai.sales.tool.dto.request.sopmanage.DynamicQueryReqDto;
import com.songshuai.sales.tool.dto.request.sopmanage.SopManageListReqDto;
import com.songshuai.sales.tool.dto.response.sopmanage.SopActResDto;
import com.songshuai.sales.tool.dto.response.sopmanage.SopPreviewResDto;
import com.songshuai.sales.tool.dto.response.sopmanage.SopPushRecordResDto;
import com.songshuai.sales.tool.dto.response.sopmanage.SuccessResDto;
import com.songshuai.sales.tool.util.PageUtil;
import com.songshuai.webapi.baseapi.pojo.BaseParmDto;

import java.util.List;
import java.util.Map;

public interface SopManageService {

   Map queryBindStatus(String customerIds);

   //动态查询客户行为记录
   PageUtil selectByMsg(BaseParmDto<CustomerQueryReqDto> request);

   //根据actionUser查询sop行为数据
   List<SopActResDto> selectByActionUser(String actionUser);

   //查询当前客户的sop推送记录
   List<SopPushRecordResDto> selectSopPushRecord(String receiveUser);

   //sop预览
   SopPreviewResDto showSopPreView(String sopId);

   //动态查询推送记录
   PageUtil dynamicQuery(BaseParmDto<DynamicQueryReqDto> request);

   //sop界面展示列表及查询
   PageUtil selectSopManageList(BaseParmDto<SopManageListReqDto> request);

   //批量推送
   SuccessResDto insertPushRecord(List<CustomerPushReqDto> list, String authorization);
   //获取登陆人角色列表
   List<String> getAllRole();

}
